gh-143921: Reject control characters in IMAP commands
authorSeth Michael Larson <seth@python.org>
Tue, 20 Jan 2026 20:45:42 +0000 (14:45 -0600)
committerAndrej Shadura <andrewsh@debian.org>
Sun, 25 Jan 2026 13:37:52 +0000 (14:37 +0100)
commitd2f5a3b1cd319fb2933ddb0709455fcd67261cee
tree29f53c3248ce151fbe5317b2c859b7ee2213621c
parente6ad642b2b8bedbe704845f57ee5c95a459e257b
gh-143921: Reject control characters in IMAP commands

Origin: upstream, https://github.com/python/cpython/commit/6262704b134db2a4ba12e85ecfbd968534f28b45

Gbp-Pq: Name CVE-2025-15366.patch
Lib/imaplib.py
Lib/test/test_imaplib.py
Misc/NEWS.d/next/Security/2026-01-16-11-41-06.gh-issue-143921.AeCOor.rst [new file with mode: 0644]